package com.syl.qianyin.spider.config;

import com.syl.framework.frametools.utils.RedisJsonUtils;
import com.syl.framework.frametools.utils.RedisObjectUtils;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author syl
 * @create 2019-05-11 13:51
 **/
@Configuration
public class Config {

    @Bean
    public RedisObjectUtils redisObjectUtils(){
        return new RedisObjectUtils();
    }

    @Bean
    public RedisJsonUtils redisJsonUtils(){
        return new RedisJsonUtils();
    }

}
